﻿
using SqlSugar;

namespace SHZY.Business.Entitys.Dto.QmsBusiIpqcinspectionlot;

/// <summary>
/// 检验批修改输入参数.
/// </summary>
public class QmsBusiIpqcinspectionlotCrInput
{
    /// <summary>
    /// 检验批号.
    /// </summary>
    public string code { get; set; }

    /// <summary>
    /// 报检单号.
    /// </summary>
    public string inspectionCode { get; set; }

    /// <summary>
    /// 检验日期.
    /// </summary>
    public DateTime? date { get; set; }

    /// <summary>
    /// 报检类型(字典项：业务类型:默认制程检).
    /// </summary>
    public string type { get; set; }

    /// <summary>
    /// 检验类型：抽检（C）巡检（X）首检（S）.
    /// </summary>
    public string inspectType { get; set; }

    /// <summary>
    /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
    /// </summary>
    public string workshopId { get; set; }

    /// <summary>
    /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
    /// </summary>
    public string teamId { get; set; }

    /// <summary>
    /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
    /// </summary>
    public string workshopSectionId { get; set; }

    /// <summary>
    /// ⽣产建模: ⻋间、班组、⼯段、⼯位 任选其⼀即可.
    /// </summary>
    public string stationId { get; set; }

    /// <summary>
    /// ⾮必输，从物料所属的⼯艺路线中下拉选择⼯序，可以多选.
    /// </summary>
    public string processIdList { get; set; }

    /// <summary>
    /// 物料.
    /// </summary>
    public string materialCode { get; set; }

    /// <summary>
    /// ⽣产订单号.
    /// </summary>
    public string orderNo { get; set; }

    /// <summary>
    /// ⽣产数量.
    /// </summary>
    public int? productionQty { get; set; }

    /// <summary>
    /// 检验员.
    /// </summary>
    public string employeeCode { get; set; }

    /// <summary>
    /// 检验员名称.
    /// </summary>
    public string employeeName { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    public string remark { get; set; }

    /// <summary>
    /// 状态：0 未检验  1检验中 2检验完成 3已过帐 4 关闭.
    /// </summary>
    public int? status { get; set; }

    /// <summary>
    /// 关闭原因.
    /// </summary>
    public string closeDes { get; set; }

    /// <summary>
    /// 关闭时间.
    /// </summary>
    public DateTime? closeDate { get; set; }

    /// <summary>
    /// OK NG.
    /// </summary>
    public string judgeStatus { get; set; }

    /// <summary>
    /// 0 不合格 1合格.
    /// </summary>
    public int? udNo { get; set; }

    /// <summary>
    /// 使用决策子项.
    /// </summary>
    public string decision { get; set; }

    /// <summary>
    /// 使用决策子项名字.
    /// </summary>
    public string decisionName { get; set; }

    /// <summary>
    /// 破坏性数量.
    /// </summary>
    public int? destructivenessQty { get; set; }

    /// <summary>
    /// 接收数量.
    /// </summary>
    public int? receiveQty { get; set; }

    /// <summary>
    /// 使用决策备注.
    /// </summary>
    public string decisionDesc { get; set; }

    /// <summary>
    /// 0 未逾期 1 已逾期.
    /// </summary>
    public int? overdue { get; set; }

    /// <summary>
    /// 开始时间.
    /// </summary>
    public DateTime? startTime { get; set; }

    /// <summary>
    /// 结束时间.
    /// </summary>
    public DateTime? endTime { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public int? enabledMark { get; set; }

}